package com.dream.technology.service.impl;



import com.dream.technology.db.dao.RcFieldSelectMapper;
import com.dream.technology.db.entity.RcFieldSelect;
import com.dream.technology.db.entity.RcFieldSelectQuery;
import com.dream.technology.service.RcFieldSelectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("rcFieldSelectService")
public class RcFieldSelectServiceImpl implements RcFieldSelectService {

    @Autowired
    RcFieldSelectMapper rcFieldSelectMapper;

    @Override
    public int countByExample(RcFieldSelectQuery example) {
        return rcFieldSelectMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(RcFieldSelectQuery example) {
        return rcFieldSelectMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return rcFieldSelectMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(RcFieldSelect record) {
        return rcFieldSelectMapper.insert(record);
    }

    @Override
    public int insertSelective(RcFieldSelect record) {
        return rcFieldSelectMapper.insertSelective(record);
    }

    @Override
    public List<RcFieldSelect> selectByExample(RcFieldSelectQuery example) {
        return rcFieldSelectMapper.selectByExample(example);
    }

    @Override
    public RcFieldSelect selectByPrimaryKey(Long id) {
        return rcFieldSelectMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(RcFieldSelect record, RcFieldSelectQuery example) {
        return rcFieldSelectMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(RcFieldSelect record, RcFieldSelectQuery example) {
        return rcFieldSelectMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(RcFieldSelect record) {
        return rcFieldSelectMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(RcFieldSelect record) {
        return rcFieldSelectMapper.updateByPrimaryKey(record);
    }
}
